<template>
  <dt-modal-info ref="info" title="承接人详情" :label-width="180" :width="800">
    <div class="tip">
      <span>服务案场：{{ info.housesName }}</span>
      <span>当前状态：{{ info.buildingType == 1 ? '在案' : '离案' }}</span>
    </div>
  </dt-modal-info>
</template>

<script>
  import detailOpt from '../opt/audit.js'
  export default {
    data() {
      return {
        info: {}
      }
    },
    methods: {
      show(info) {
        this.info = info
        this.$refs.info.show(detailOpt.options(this), this.info)
      }
    }
  }
</script>

<style lang="scss" scoped>
  .tip {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #ff9900;
    padding-bottom: 20px;
  }
</style>
